.container
  .my-panel
    %h2 Sign In
    %hr
    .row
      .col-sm-6.col-sm-offset-1
        = simple_form_for(resource, as: resource_name, url: session_path(resource_name), html: { class: 'form-horizontal' }) do |f|
          .form-group
            = f.label :email, 'Email', class: 'col-sm-3 control-label'
            .col-sm-7
              = f.email_field :email, required: true, autofocus: true, class: 'form-control'
          .form-group
            = f.label :password, 'Password', class: 'col-sm-3 control-label'
            .col-sm-7
              = f.password_field :password, required: true, class: 'form-control'
          .form-group
            .col-sm-7.col-sm-offset-3
              = f.button :submit, 'Sign In', class: 'btn btn-primary'
      .col-sm-4.col-sm-offset-1
        %h4 No Account Yet?
        %p
          %p
            = link_to 'Sign up', new_registration_path(resource_name)
            today.